#include <stdio.h>
#include <math.h>

int main() {
  printf("fmax(2,1)    = %f\n", fmax(2,1));
  printf("fmax(-Inf,0) = %f\n", fmax(-INFINITY,0));
  printf("fmax(NaN,-1) = %f\n", fmax(NAN,-1));
  printf("fmaxf(2,1)    = %f\n", fmaxf(2,1));
  printf("fmaxf(-Inf,0) = %f\n", fmaxf(-INFINITY,0));
  printf("fmaxf(NaN,-1) = %f\n", fmaxf(NAN,-1));
  printf("fmin(2,1)    = %f\n", fmin(2,1));
  printf("fmin(-Inf,0) = %f\n", fmin(-INFINITY,0));
  printf("fmin(NaN,-1) = %f\n", fmin(NAN,-1));
  printf("fminf(2,1)    = %f\n", fminf(2,1));
  printf("fminf(-Inf,0) = %f\n", fminf(-INFINITY,0));
  printf("fminf(NaN,-1) = %f\n", fminf(NAN,-1));
  printf("islessgreater(2.0,1.0)      = %d\n", islessgreater(2.0,1.0));
  printf("islessgreater(2.0,1.0)      = %d\n", islessgreater(2.0,1.0));
  printf("islessgreater(2.0,1.0)      = %d\n", islessgreater(2.0,1.0));
  printf("islessgreater(2.0,1.0)      = %d\n", islessgreater(2.0,1.0));
  printf("islessgreater(1.0,2.0)      = %d\n", islessgreater(1.0,2.0));
  printf("islessgreater(1.0,1.0)      = %d\n", islessgreater(1.0,1.0));
  printf("islessgreater(INFINITY,1.0) = %d\n", islessgreater(INFINITY,1.0));
  printf("islessgreater(1.0,NAN)      = %d\n", islessgreater(1.0,NAN));
  return 0;
}

